package com.yex.dao;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.yex.entity.QuestionEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 留言
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-12-27 16:00:40
 */
public interface QuestionDao extends BaseMapper<QuestionEntity> {

    List<Map<String,Object>> selectPageFilter(Page<Map<String,Object>> page, String filter);

    List<QuestionEntity> selectQuestionList(@Param("userId") Integer userId);
}
